package com.woniuxy.caradmin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class IndextController {
    @RequestMapping("/index.do")
    public ModelAndView index(ModelAndView modelAndView){
        modelAndView.setViewName("index");
        return modelAndView;
    }
    //跳转至车辆档案页面
    @RequestMapping("/goVehiclefilesList")
    public ModelAndView goVehiclefilesList(ModelAndView modelAndView){
        modelAndView.setViewName("vehiclefilesList");
        return modelAndView;
    }
    //跳转至往来单位页面
    @RequestMapping("/goUnitList")
    public ModelAndView goUnitList(ModelAndView modelAndView){
        modelAndView.setViewName("unitList");
        return modelAndView;
    }
}
